{* Smarty *}
{*
 *  This file is part of Urd.
 *
 *  Urd is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation; either version 3 of the License, or
 *  (at your option) any later version.
 *  Urd is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this program. See the file "COPYING". If it does not
 *  exist, see <http://www.gnu.org/licenses/>.
 *
 * $LastChangedDate: 2008-03-28 22:50:18 +0100 (Fri, 28 Mar 2008) $
 * $Rev: 1068 $
 * $Author: gavinspearhead $
 * $Id: viewfiles.tpl 1068 2008-03-28 21:50:18Z gavinspearhead $
 *}
{include file="barehead.tpl" title=$title}

<div id="logindiv">
<!-- javascript enabled check -->
<noscript><div id="nojs">{$LN_login_jserror}</div></noscript>

<form method="post" action="register.php">
<table class="logintable">
{if $subpage eq "form"}
<tr><td></td><td><h3>{$LN_reg_form}</h3></td></tr>
<tr><td>{$LN_username}</td><td><input name="username" type="text"/></td></tr>
<tr><td>{$LN_fullname}</td><td><input name="fullname" type="text"/></td></tr>
<tr><td>{$LN_email}</td><td><input name="email" type="text"/></td></tr>
<tr><td>{$LN_password}</td><td><input name="password1" type="password"/></td></tr>
<tr><td>{$LN_password} {$LN_reg_again}</td><td><input name="password2" type="password"/></td></tr>
<tr><td></td><td><input type='submit' name="submit_button" value="{$LN_register}" class="submit"/></td></tr>
{/if}
{if $subpage eq "pending"}
<tr><td><h3>{$LN_reg_status}</h3></td></tr>
<tr><td>{$LN_reg_pending}</td></tr>
<tr><td><a href="login.php">{$LN_login_title}</a></td></tr>
{/if}
{if $subpage eq "activated"}
<tr><td><h3>{$LN_reg_status}</h3></td></tr>
<tr><td>{$LN_reg_activated}</td></tr>
{/if}
{if $subpage eq "sent"}
<tr><td><h3>{$LN_reg_status}</h3></td></tr>
<tr><td>{$LN_reg_codesent}</td></tr>
<tr><td><a href="login.php">{$LN_login_title}</a></td></tr>
{/if}
</table>
</form>

</div>
{include file="barefoot.tpl"}
